﻿using Abp.Application.Services;
using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace HCD.Entities
{
    [Table("HCD_ADDRESS_BOOK")]
    public class HcdAddressBook : Entity<long>
    {
        /// <summary>
        /// 用户帐号
        /// </summary>
        [Column("USER_CODE", TypeName = "VARCHAR(16)")]
        public virtual string UserCode { get; set; }
        /// <summary>
        /// 用户姓名
        /// </summary>
        [Column("USER_NAME", TypeName = "VARCHAR(20)")]
        public virtual string UserName { get; set; }
        /// <summary>
        /// 行政科室代码
        /// </summary>
        [Column("DEPT_CODE", TypeName = "VARCHAR(40)")]
        public virtual string DeptCode { get; set; }
        /// <summary>
        /// 行政科室名称
        /// </summary>
        [Column("DEPT_NAME", TypeName = "VARCHAR(40)")]
        public virtual string DeptName { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        [Column("JOB", TypeName = "VARCHAR(20)")]
        public virtual string Job { get; set; }
        /// <summary>
        /// 职称
        /// </summary>
        [Column("TITLE", TypeName = "VARCHAR(30)")]
        public virtual string Title { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        [Column("PASSWORD", TypeName = "VARCHAR(50)")]
        public virtual string Password { get; set; }
        /// <summary>
        /// 是否有效，1：有效；0：无效
        /// </summary>
        [Column("STATUS", TypeName = "VARCHAR(1)")]
        public virtual string Status { get; set; }
    }
}
